

(function (w) {
     var apiHost='http://develop.jhjvip.cn:8080';
    w.C={};
    //域名
    C.host=apiHost+'/mall/mobile/';
	C.debug=true;
	C.isWeihu=false;
    //强制刷新当前页面
    C.version=Math.random();

    //接口
    C.interface={
    	//直播详情
    	details:"live/detail",
    	//聊天数据
    	record:'live/listChat',
    	//登录
    	enter:'login/in',
    	//验证码
    	auth:'login/code',
    	//注册
    	login:'login/reg',
//  	忘记密码
		forget:'users/forgetpwd',
//		重置密码
		resets:'users/chgpwd',
		//点赞
		praise:'live/like',
		//添加聊天
		addchat:'live/addChat',
		//点赞聊天
		likeChat:'live/likeChat'
    };
    //组合接口地址
    for (k in C.interface){
        C.interface[k]=C.host + C.interface[k];
    }
})(window);













